package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <desc>
 *   设备消费授权文件记录信息表
 * </desc>
 * 
 * @author: chengshican
 * @Date: 2020-08-11 14:04
 *  
 */


@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ItlTables("device_white_list_auth_file_consume_records")//设备消费授权文件记录信息表
public class DeviceWhiteListAuthFileConsumeRecordsPO extends BasePO implements Serializable {

    @ItlField(value = "id",logicKey = "key")
    private Integer id ;//自增id

    @ItlField(value = "device_type")
    private  Integer deviceType;//设备类型1人脸识别云对讲门禁 2人脸识别仪 3一体式人脸识别门禁


    @ItlField(value = "device_mac")
    private  String deviceMac;//消费授权文件设备mac地址

    @ItlField(value = "consume_num")
    private Integer consumeNum;//授权文件消费数量


    @ItlField(value = "device_activate_time")
    private Date deviceActivateTime;//设备激活时间

    @ItlField(value = "create_user_id")
    private  String createUserId;//创建用户id

    @ItlField(value = "operate_user_id")
    private String operateUserId;//修改用户id

    @ItlField(value = "consume_file_name")
    private String consumeFileName;//消费的授权文件名称

    @ItlField(value = "rule_id")
    private String ruleId;//关联规则表的逻辑主键id

    @ItlField(value = "auth_id")
    private String authId;//授权文件id

}
